[INFO] fetching crate esp-hal-ota 0.5.0...
[INFO] testing esp-hal-ota-0.5.0 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate esp-hal-ota 0.5.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate esp-hal-ota 0.5.0
[INFO] finished tweaking crates.io crate esp-hal-ota 0.5.0
[INFO] tweaked toml for crates.io crate esp-hal-ota 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate esp-hal-ota 0.5.0 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate esp-hal-ota 0.5.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3
[INFO] running `Command { std: "docker" "start" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling esp-hal-ota v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling esp-hal-ota v0.5.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/esp_hal_ota-f8dd1e54b3dfff51)
[INFO] [stderr]    Doc-tests esp_hal_ota
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/../README.md - (line 30) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 30) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope
[INFO] [stdout]   --> src/../README.md:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     log::info!("progress: {}%", progress);
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `log`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `esp_hal` in this scope
[INFO] [stdout]   --> src/../README.md:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             esp_hal::reset::software_reset();
[INFO] [stdout]    |             ^^^^^^^ use of unresolved module or unlinked crate `esp_hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `esp_hal`, use `cargo add esp_hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ota` in this scope
[INFO] [stdout]   --> src/../README.md:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 | let mut ota = Ota::new(FlashStorage::new()).unwrap();
[INFO] [stdout]    |               ^^^ use of undeclared type `Ota`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 30 + use esp_hal_ota::Ota;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlashStorage` in this scope
[INFO] [stdout]   --> src/../README.md:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | let mut ota = Ota::new(FlashStorage::new()).unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^ use of undeclared type `FlashStorage`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_next_chunk` in this scope
[INFO] [stdout]   --> src/../README.md:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let n = read_next_chunk(&mut buf);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 30)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.36s; merged doctests compilation took 0.10s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3", kill_on_drop: false }`
[INFO] [stdout] 4d824c82cf0f7cd27290cec6ff08f25555a0b343b7055687d1a194f974ff3db3
